#!/bin/bash

source env.sh
NODE=$1

ssh -l $SLICE -i $SSH_KEY -o StrictHostKeyChecking=no $NODE 'rm -Rf *'
scp -i $SSH_KEY -o StrictHostKeyChecking=no Makefile tx.c node_setup.sh get_time.sh ip.sh $SLICE@$NODE:
ssh -l $SLICE -i $SSH_KEY -o StrictHostKeyChecking=no $NODE ./node_setup.sh
#ssh -l $SLICE -i $SSH_KEY -o StrictHostKeyChecking=no $NODE

